<?php
/**
 * 开始类
 * User: www.sgfoot.com
 * Date: 2018/5/10
 * Time: 14:25
 */
define('SG_ROOT', str_replace('\\', '/', dirname(__DIR__)) . '/');
define('SG_LIBRARY', SG_ROOT . 'library/');
define('SITE_URL', 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']));
define('SGLOGS_PATH', SG_ROOT . 'logs/');
require SG_LIBRARY . 'SgLogs.php';
require SG_LIBRARY . 'phpqrcode.php';
require SG_LIBRARY . 'helper.php';
